package mk.jug.academy.testing.factory;

import java.util.UUID;

import mk.jug.academy.model.Sponsor;


/**
 * Factory for creating instances for testing purposes.
 *
 * @author Ice.Penov
 */
public final class SponsorTestFactory {
	
	/** No instantiation. Static usage only */
	private SponsorTestFactory() {;}
	
	/** Creates a random {@link Sponsor} instance, for testing purposes */	
	public static Sponsor createSponsor() {
		Sponsor sponsor = new Sponsor();
		sponsor.setName("name" + UUID.randomUUID());
		sponsor.setDescription("description" + UUID.randomUUID());
		sponsor.setEmail(UUID.randomUUID() + "@example.com");
		sponsor.setPassword("password");
		return sponsor;
	}

}